<%@ page language="java" contentType="text/html; charset=utf-8"
	pageEncoding="utf-8"%>
<SCRIPT LANGUAGE="JavaScript">  
$(function(){  
    	$.get("getSelect.do", {
			type : '2',
			index : '${param.sex}'
		}, function(data) {
			$("select#sex").append(data);
		});
		$.get("getSelect.do", {
			type : '1',
			code : null,
			index : '${param.region}'
		}, function(data) {
			$("select#region").append(data);
		});
		$.get("getSelect.do", {
			type : '3',
			index : '${param.degree}'
		}, function(data) {
			$("select#degree").append(data);
		});
		$.get("getSelect.do", {
			type : '5',
			index : '${param.workType}'
		}, function(data) {
			$("select#workType").append(data);
		});
		$.get("getSelect.do", {
			type : 'zw',
			index : '${param.name}',
			code : null
		}, function(data) {
			$("select#name").append(data);
		});
		
		$("#searchPosition").button().click(function() {
			location.href='queryPositionList.do?pageTitle=职位查询&name='+$("#name").val()+'&region='+$("#region").val();
		});
});
</SCRIPT>
<div class="box">
<div class="line">职位检索</div>
<br/>
<center>
<select id="name" style="width: 200px;">
	<option value="">请选择职位</option>
</select>
<select id="region" style="width: 200px;">
	<option value="">请选择区域</option>
</select>
<button id="searchPosition">查 询</button>
</center>
<br/>
</div>